package com.thingsgrid.firmware.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

@Data
@Document(collection = "firmware_upgrade_record")
public class FirmwareUpgradeRecord implements Serializable {
	private static final long serialVersionUID = 1L;
	@Field("upgrade_id")
	private String upgradeId;
	@Field("methods_id")
	private String methodsId;
	@Field("firmware_id")
	private String firmwareId;
	@Field("upgrade_time")
	private String upgradeTime;
	@Field("device_id")
	private String deviceId;
	@Field("upgrade_author")
	private String upgradeAuthor;
	@Field("upgrade_department")
	private String upgradeDepartment;
	@Field("upgrade_stats")
	private Integer upgradeStats;
	@Field("old_firmware_version")
	private String oldFirmwareVersion;
	@Field("new_firmware_version")
	private String newFirmwareVersion;
}
